export type Type = 'any' | 'string' | 'number' | 'boolean' | 'TSUnionType' | 'null' | string

export function giveTypeAnswer(type: string): Type {
  if (type === 'TSStringKeyword') return 'string'
  if (type === 'TSNumberKeyword') return 'number'
  if (type === 'TSBooleanKeyword') return 'boolean'
  if (type === 'TSNullKeyword') return 'null'
  return type
}
